<template>
	<div class="w-[150px]">
		<LottieAnimation
			ref="anim"
			:animation-data="LoadingIcon"
			:loop="true"
			:auto-play="true"
			:speed="1" />
	</div>
</template>

<script setup lang="ts">
import { onMounted, ref } from 'vue'
import { LottieAnimation } from 'lottie-web-vue'
import LoadingIcon from '@/assets/json/small-loading.json'

let anim = ref()

onMounted(() => {
	setTimeout(() => {
		anim.value
	}, 500)
})
</script>
